package com.tj.service;

import com.tj.controller.Result;
import com.tj.pojo.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tj.pojo.Employee;

import java.util.List;

/**
* @author t
* @description 针对表【category(菜品及套餐分类)】的数据库操作Service
* @createDate 2023-04-25 21:48:54
*/
public interface CategoryService  {

    public List<Category> page(int page,int pageSize);

    public Employee getByName(Category category);

    public int addCategory(Category category);

    public int deleteById(Long id);

    public List<Category> getAll();
}
